//model2
import 'package:flutter/material.dart';

class PersionModel with ChangeNotifier {
  List<String> persionNames = ['小明', '小红'];
  PersionModel();

  List<String> get getPersionNameList => persionNames;

  void addName(String name) {
    persionNames.insert(0, name);
    notifyListeners();
  }
}
